﻿@{
    ViewBag.Title = "编辑权限";
    Layout = null;
}
<div class="easyui-panel" data-options="footer:'#footer',border:false,fit:true">
    <form id="ff" class="easyui-form" method="post">
        <input name="PId" type="hidden" />
        <input name="PCreateTime" type="hidden" />
        <table class="tfrm2">
            <tr>
                <td>权限名称:</td>
                <td><input name="PName" class="easyui-textbox" data-options="required:true,missingMessage:'必填权限名称'" style="height:25px;" /><span class="required">*</span></td>
                <td>上级权限:</td>
                <td><input name="PParentID" class="easyui-validatebox" style="height:25px;" /></td>
            </tr>
            <tr>
                <td>权限图标:</td>
                <td><input name="PIcon" class="easyui-validatebox" style="height:25px;" /></td>
                <td>区域:</td>
                <td><input name="PAreaName" class="easyui-textbox" style="height:25px;" /></td>
            </tr>
            <tr>
                <td>控制器:</td>
                <td><input name="PControllerName" class="easyui-textbox" style="height:25px;" /></td>
                <td>操作方式:</td>
                <td><input name="PActionName" class="easyui-textbox" style="height:25px;" /></td>
            </tr>
            <tr>
                <td>请求方法:</td>
                <td><select class="easyui-combobox" name="PFormMethod" style="height:25px;">
                    <option value="1">GET</option>
                    <option value="2">POST</option>
                    <option value="3">HEAD</option>
                </select></td>
                <td>是否显示:</td>
                <td><select class="easyui-combobox" name="PIsShow" style="height:25px;">
                    <option value="true">可见</option>
                    <option value="false">不可见</option>
                </select></td>
            </tr>
            <tr>
                <td>显示顺序:</td>
                <td><input name="POrder" class="easyui-textbox" data-options="required:true,validType:'number'" style="height:25px;" /><span class="required">*</span></td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td>备注:</td>
                <td colspan="3"><input name="PRemark" class="easyui-textbox" data-options="multiline:true" style="width:520px;height:100px;" /></td>
            </tr>
        </table>
    </form>
</div>
